package com.mall.promotion.constant;

/**
 * @author: xrj
 * @date: 2022/5/2 23:55
 * @description:
 */
public enum PromotionServiceEnum {
    SUCCESS("10000", "成功"),
    DATA_QUERY_ERROR("40001", "促销数据查询异常"),
    SESSION_ERROR("40002", "秒杀场次异常");


    private String code;
    private String msg;

    PromotionServiceEnum(String code, String desc) {
        this.code = code;
        this.msg = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
